package com.esint.lombok;

import lombok.*;

/**
 * @description: lombok测试类
 * @author: 谷明
 * @createDate: 2021/8/12 16:09
 */
@ToString
@AllArgsConstructor
@Getter
@Setter
@EqualsAndHashCode(exclude = {"id", "random"})
//@EqualsAndHashCode(of = {"id", "random"})
public class Person4 {
    private String id;
    private Integer random;
    private String name;
    private Integer gender;
    private Integer age;
    private String idNo;//身份证号
    private String hobby;
}
